/* Hover actions */

/* Ignore for touch devices */
@media (hover: hover) and (pointer: fine) {
  .hover-action {
    display: none !important;
  }
}

.hover-action:hover,
.hover-action:focus {
  display: inline-flex !important;
}

.hover-actions-parent:hover .hover-action,
.hover-actions-parent:focus .hover-action {
  display: inline-flex !important;
}

/* If parent has any children that have an open pop, show hover actions */
.hover-actions-parent:has([data-state="open"])
  .hover-action {
  display: inline-flex !important;
}
